Merge "Make submit of Special:NewFiles progressive"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Thu, 2 Oct 2014 07:02:44 +0000 (07:02 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Thu, 2 Oct 2014 07:02:44 +0000 (07:02 +0000)
includes/specials/SpecialNewimages.php

index 546c191..b9d1872 100644 (file)
@@ -201,7 +201,10 @@ class NewFilesPager extends ReverseChronologicalPager {
                $context = new DerivativeContext( $this->getContext() );
                $context->setTitle( $this->getTitle() ); // Remove subpage
                $form = new HTMLForm( $fields, $context );
+
                $form->setSubmitTextMsg( 'ilsubmit' );
+               $form->setSubmitProgressive();
+
                $form->setMethod( 'get' );
                $form->setWrapperLegendMsg( 'newimages-legend' );